﻿using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows.Forms;
using AutoTAU.Properties;

namespace AutoTAU
{
    public partial class AutoConfigError : Form
    {
        public AutoConfigError()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            try
            {
                Process.Start("http://sites.google.com/site/autotauproject/faq");
            }

            catch (Win32Exception)
            {
                // This happens when there's no default browser. Ignore.
            }
        }

        private void AutoConfigError_FormClosed(object sender, FormClosedEventArgs e)
        {
            // Save the user's settings
            Settings.Default.Save();
        }
    }
}